﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TA/TA.Master" AutoEventWireup="true" CodeBehind="TA_Schedule.aspx.cs" Inherits="TAMS.TA.Schedule" %>
<%@ Register assembly="DayPilot" namespace="DayPilot.Web.Ui" tagprefix="DayPilot" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
    .style2
    {
        color: #6699FF;
    }
    .style3
    {
        color: #0066FF;
        font-weight: bold;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p class="style3">
        Schedule</p>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">


   


  <DayPilot:DayPilotCalendar ID="DayPilotCalendar1" runat="server" 
        DataEndField="end"
        DataStartField="start" 
        DataTextField="name" 
        DataValueField="id" 

        Days="7" 
        TimeRangeSelectedHandling="Hold" 
        ContextMenuSelectionID="DayPilotMenu1" 
        ClientObjectName="dpc1" 
            OnTimeRangeSelected="DayPilotCalendar1_TimeRangeSelected"
      OnTimeRangeMenuClick="DayPilotCalendar1_TimeRangeMenuClick"
       EventDeleteHandling="CallBack" 
        OnEventDelete="DayPilotCalendar1_EventDelete" 

        
        HourNameBackColor=""
        BorderColor="#A0A0A0"
        CellBorderColor="#A0A0A0"
        EventBorderColor="#505050"
        AllDayEventBorderColor="#a0a0a0" style="top: 0px; left: 0px; width: 143%"
        
        >
    </DayPilot:DayPilotCalendar>

    <DayPilot:DayPilotMenu ID="DayPilotMenu1" runat="server" >
        <DayPilot:MenuItem Action="CallBack" Command="Insert" Text="Create new event (CallBack)" />
        <DayPilot:MenuItem Text="-" ></DayPilot:MenuItem>
        <DayPilot:MenuItem Action="JavaScript" JavaScript="alert('Start: ' + e.start.toString() + '\nEnd: ' + e.end.toString() + '\nResource id: ' + e.resource);"
            Text="Show selection details" />
    </DayPilot:DayPilotMenu>

    </asp:Content>
